package com.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * ========================
 * Created with IntelliJ IDEA.
 * User：恒宇少年
 * Date：2017/7/12
 * Time：10:58
 * 码云：http://git.oschina.net/jnyqy
 * ========================
 */
@Entity
@Data
@Table(name = "user")
@AllArgsConstructor
@NoArgsConstructor
@Builder(builderClassName = "Builder")
public class UserBean
{
    @Id
    @GeneratedValue
    private Long id;

    private String name;

    private Integer age;

    private double socre;

    private String pwd;
    private String address;
}
